package com.client.service.Impl;

import com.client.pojo.Product;
import com.client.service.ProductService;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ProductServiceFallBack implements ProductService {
    @Override
    public ResponseEntity<Product> addProduct(Product product) {
        return null;
    }

    @Override
    public ResponseEntity<Product> updateProduct(Product product) {
        return null;
    }

    @Override
    public ResponseEntity<Void> deleteProduct(String productId) {
        return null;
    }

    @Override
    public ResponseEntity<Product> getProductById(String productId) {
        return null;
    }

    @Override
    public ResponseEntity<List<Product>> listAllProducts() {
        return null;
    }

    @Override
    public ResponseEntity<List<Product>> listProductsByCategory(String categoryId) {
        return null;
    }

    @Override
    public ResponseEntity<Void> onShelf(String productId) {
        return null;
    }

    @Override
    public ResponseEntity<Void> offShelf(String productId) {
        return null;
    }
}
